package com.start.workflow.common.enums;

/**
 * 流程配置
 */
public enum StartActConf implements StartBaseActConfEnum {


    ACT_FORM_TABLE("act_bus_data_form", "流程业务主表单", true),

    CARBON_COPY("carbon_copy", "流程抄送", false);


    private final String label;
    private final String value;
    private final boolean isCheckConf;

    StartActConf(String value, String label, boolean isCheckConf) {
        this.value = value;
        this.label = label;
        this.isCheckConf = isCheckConf;
    }

    /**
     * 获取泛型值
     *
     * @return
     */
    @Override
    public String getValue() {
        return value;
    }

    /**
     * 获取泛型名称
     *
     * @return
     */
    @Override
    public String getLabel() {
        return label;
    }

    @Override
    public boolean isCheckConf() {
        return isCheckConf;
    }

    /**
     * 配置类型
     *
     * @return
     */
    @Override
    public String getActType() {
        return "process";
    }

}
